package com.lgh.springcloudalibaba.service;

/**
 * ******************************************************
 *
 * @author liugh9
 * @version 1.0
 * @classname PaymentFallbackService
 * @description
 * @date 2022/12/20 10:50
 * <p>
 * ******************************************************
 */

import com.lgh.springcloud.entities.CommonResult;
import com.lgh.springcloud.entities.Payment;
import org.springframework.stereotype.Component;

@Component
public class PaymentFallbackService implements PaymentService {
    @Override
    public CommonResult<Payment> paymentSQL(Long id)
    {
        return new CommonResult<>(44444,"服务降级返回,---PaymentFallbackService",new Payment(id,"errorSerial"));
    }
}


